a14ad0bd8e9c9f331e42eb24fc0e9969d5bb4325,portlets/calendar-portlet/docroot/WEB-INF/src/com/liferay/calendar/service/impl/CalendarImporterLocalServiceImpl.java,CalendarImporterLocalServiceImpl,getAssetCategory,#number#number#String#,492
Before Change
ServiceContext serviceContext = new ServiceContext();
serviceContext.setScopeGroupId(groupId);
serviceContext.setUserId(userId);
return assetCategoryLocalService.addCategory(
userId, name, assetVocabulary.getVocabularyId(), serviceContext);
After Change
ServiceContext serviceContext = new ServiceContext();
serviceContext.setScopeGroupId(groupId);
serviceContext.setUserId(userId);
AssetVocabulary assetVocabulary = assetVocabularyPersistence.fetchByG_N(
groupId, _CALENDAR_VOCABULARY_NAME);